home *** CD-ROM | disk | FTP | other *** search
- on prepareFrame
- set the visible of sprite 30 to 0
- end
-
- on enterFrame
- if sprite 1 intersects sprite(10) then
- puppetSound(3, "Hello")
- set the visible of sprite 30 to 1
- else
- if sprite 1 intersects sprite(11) then
- puppetSound(4, "01")
- set the visible of sprite 30 to 1
- else
- if sprite 1 intersects sprite(12) then
- puppetSound(5, "02")
- set the visible of sprite 30 to 1
- else
- if sprite 1 intersects sprite(13) then
- puppetSound(6, "03")
- set the visible of sprite 30 to 1
- else
- if sprite 1 intersects sprite(14) then
- puppetSound(6, "04")
- set the visible of sprite 30 to 1
- else
- if sprite 1 intersects sprite(15) then
- puppetSound(5, "05")
- set the visible of sprite 30 to 1
- else
- if sprite 1 intersects sprite(16) then
- puppetSound(4, "06")
- set the visible of sprite 30 to 1
- else
- if sprite 1 intersects sprite(17) then
- puppetSound(3, "07")
- set the visible of sprite 30 to 1
- else
- if sprite 1 intersects sprite(18) then
- puppetSound(4, "08")
- set the visible of sprite 30 to 1
- else
- if sprite 1 intersects sprite(19) then
- puppetSound(5, "09")
- set the visible of sprite 30 to 1
- else
- if sprite 1 intersects sprite(20) then
- puppetSound(6, "10")
- set the visible of sprite 30 to 1
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end
-
- on exitFrame
- go(the frame)
- end
-